Delay locked loop in semiconductor memory device and method for generating divided clock therein

ABSTRACT

Provided are a delay locked loop (DLL) and a method for generating a divided clock therein. In the DLL, a width of a reference frequency for phase comparison can be changed depending on a magnitude of an operating frequency. In the DLL, a clock buffer receives a clock equal to an external clock and generates an internal clock. An enable clock generator generates a 1-period enable clock or a 2-period enable clock using a command signal generated for performing a predefined operation. The command signal is generated according to an address command signal inputted from an exterior. A clock divider divides the internal clock to generate a divided clock. The divided clock is controlled by the 1-period enable clock or the 2-period enable clock, such that the divided clock is made to be a 1-period based dividing clock or a 2-period based dividing clock.

FIELD OF THE INVENTION

The present invention relates to a semiconductor memory device; and, more particularly, to a delay locked loop capable of changing a width of a reference frequency for phase comparison depending on a magnitude of an operating frequency, and a method for generating a divided clock therein.

DESCRIPTION OF RELATED ART

In a system or circuit, a clock is used as a reference for synchronization of an operating timing and is also used for securing a rapid operation without errors. When an external clock is used within the system or circuit, a clock skew occurs in an internal circuit. A delay locked loop (DLL) is used to compensate for the clock skew and synchronize the internal clock with the external clock. That is, a timing in which data sensed using the external clock is outputted through a data output buffer is matched with a timing in which the external clock is inputted.

A case where the DLL is applied to a DDR SDRAM will be taken as an example.

FIG. 1 is a block diagram of a conventional register controlled DLL of a DDR SDRAM.

Referring to FIG. 1, the conventional register controlled DLL includes an input buffer 1, a clock buffer 10, a clock divider 2, a phase comparator 3, a delay controller 4, a delay line 5, a dummy delay line 6, and a replica model 7.

The input buffer 1 receives an external clock eclk and an inverted external clock eclkb to generate a first internal clock fclk and a second internal clock rclk, which are synchronized with a falling edge and a rising edge of an external clock clk, respectively.

The clock buffer 10 receives a clock equal to the external clock clk to generate a clock equal to the second internal clock rclk.

The clock divider 2 divides the clock from the clock buffer 10 by n (where n is positive integers, generally n=8) and generates a reference clock ref_clk.

The phase comparator 3 compares a rising edge of a feedback clock fb_clk from the replica model 7 with a rising edge of the reference cock ref_clk.

The delay controller 7 including a shift register controls a delay amount by shifting a phase of a clock passing through the delay line 5 and the dummy delay line 6 in response to a control signal outputted from the phase comparator 3.

The delay model 7 is configured to have a delay time equal to a delay time occurring in a real clock path.

Meanwhile, the phase comparator 3 compares a phase of the divided reference clock ref_clk from the clock divider 2 with a phase of the feedback clock fb_clk from the replica model 7. As shown in FIG. 2, if the rising edge of the feedback clock fb_clk leads the rising edge of the reference clock ref_clk, the phase of the clock passing through the delay line 5 and the dummy delay line is delayed by a predetermined time, so that the DLL is set to a locking state.

However, due to the increase of the operating frequency, the conventional DLL has an operational limitation. That is, if the operating frequency increases, the period is shortened by one period (tCK). Thus, it may be shortened by one period (tCK) compared with a delay time (tD) of the replica model 7 inevitably occurring in an initial operation of the DLL. Specifically, as shown in FIG. 3, if the rising edge of the feedback clock lags behind the rising edge of the reference clock, the DLL decreases the phase delay of the feedback clock, such that the phase of the internal clock is locked. However, in the current state, the phase of the clock passing through the delay line is delayed to the minimum. Therefore, the phase delay cannot be reduced any more. Consequently, if one period (tCK) of the operating frequency is larger than the delay time (tD) of the replica model 7, the conventional DLL cannot lock the phase of the internal clock to the external clock.

To solve this problem, a clock divider in a DLL and a method for dividing a clock are disclosed in Korean Patent Application No. 10-2002-36634, filed on Jun. 28, 2002 by the present applicant, and Korean Patent Laid-Open Publication No. 10-2004-1434, published on Jan. 7, 2004 by the present invention.

However, the conventional DLL must include a low frequency division clock generator, a select signal generator, and a division clock selector. In addition, a circuit for generating a long locking signal must be included separately. Here, a logic state of the long locking signal is changed when a delay amount of a delay circuit and a delay amount of a delay model exceed one period of an external clock. Consequently, there is a problem in that a layout of the DLL increases.

SUMMARY OF THE INVENTION

It is, therefore, an object of the present invention to provide a delay locked loop capable of changing a width of a reference frequency for phase comparison depending on a magnitude of an operating frequency, and a method for generating a divided clock therein.

In accordance with an aspect of the present invention, there is provided a DLL including: a clock buffer for receiving a clock equal to an external clock and generating an internal clock; an enable clock generator for generating a 1-period enable clock or a 2-period enable clock using a command signal generated for performing a predefined operation, the command signal being generated according to an address command signal inputted from an exterior; and a clock divider for dividing the internal clock to generate a divided clock, the divided clock being controlled by the 1-period enable clock or the 2-period enable clock, such that the divided clock is made to be a 1-period based dividing clock or a 2-period based dividing clock.

The enable clock generator may include: a 1-period enable clock generating unit for logically combining a first group of CAS latency command signals to generate the 1-period enable clock; and a 2-period enable clock generating unit for logically combining a second group of CAS latency command signals to generate the 2-period enable clock, the second group of the CAS latency command signals having a value greater than the first group of the CAS latency command signals.

If a first test mode signal is inputted, the 1-period enable clock generating unit operates without regard to the first group of the CAS latency command signals.

If a second test mode signal is inputted, the 2-period enable clock generating unit operates without regard to the second group of the CAS latency command signals.

The 1-period enable clock generating unit may include: a first NOR gate configured to receive the first group of the CAS latency command signals; a second NOR gate configured to receive an output of the first NOR gate and the first test mode signal; a third NOR gate configured to receive an output of the second NOR gate and the first test mode signal; and an inverter configured to invert an output of the third NOR gate.

The 2-period enable clock generating unit may include: a first NOR gate configured to receive the second group of the CAS latency command signals; a second NOR gate configured to receive an output of the first NOR gate and the second test mode signal; a third NOR gate configured to receive an output of the second NOR gate and the second test mode signal; and an inverter configured to invert an output of the third NOR gate.

The clock divider may include: a first division unit for dividing the internal clock outputted from the clock buffer to generate a 2-division clock; a second division unit for outputting a 1-period based dividing clock and a 2-period based dividing clock using the 2-division clock; and a clock selection unit for outputting the 1-period based dividing clock if the 1-period enable clock is enabled, and outputting the 2-period based dividing clock if the 2-period based dividing clock is enabled.

The first division unit receives a clock having the same period as the external clock and generates the 1-period based dividing clock that maintains a first logic state during a period corresponding to one period of the external clock and maintains a second logic state during the remaining period.

The second division unit receives a clock having the same period as the external clock and generates the 2-period based dividing clock that maintains a first logic state during a period corresponding to two periods of the external clock and maintains a second logic state during the remaining period.

In accordance with another aspect of the present invention, there is provided a method for generating a divided clock in a delay locked loop (DLL), including the steps of: a) receiving a clock equal to an external clock to generate an internal clock; b) generating a 1-period enable clock or a 2-period enable clock using a command signal generated for performing a predefined operation, the command signal being generated according to an address command signal inputted from an exterior; and c) dividing the internal clock to generate a divided clock, the divided clock being controlled by the 1-period enable clock or the 2-period enable clock, such that the divided clock is made to be a 1-period based dividing clock or a 2-period based dividing clock.

The step a) may include the steps of: logically combining a first group of CAS latency command signals to generate the 1-period enable clock; and logically combining a second group of CAS latency command signals to generate the 2-period enable clock, the second group of the CAS latency command signals having a value greater than the first group of the CAS latency command signals.

The step c) may include the steps of: dividing the internal clock to generate a 2-division clock; outputting a 1-period based dividing clock and a 2-period based dividing clock using the 2-division clock; and outputting the 1-period based dividing clock if the 1-period enable clock is enabled, and outputting the 2-period based dividing clock if the 2-period based dividing clock is enabled.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other objects and features of the present invention will become apparent from the following description of the preferred embodiments given in conjunction with the accompanying drawings, in which:

FIG. 1 is a block diagram of a conventional register controlled DLL of a DDR SDRAM;

FIG. 2 is a waveform of a conventional clock locking;

FIG. 3 is a waveform of a case where a clock is not locked due to a high operating frequency;

FIG. 4 is a block diagram of a DLL in accordance with an embodiment of the present invention;

FIG. 5 is a circuit diagram of a clock divider and a peripheral circuit in accordance with a first embodiment of the present invention;

FIG. 6 is a detailed circuit diagram of the clock divider in accordance with an embodiment of the present invention; and

FIGS. 7 a and 7 b are waveforms of a phase locking in accordance with a clock division of the present invention.

DETAILED DESCRIPTION OF THE INVENTION

Other objects and aspects of the invention will become apparent from the following description of the embodiments with reference to the accompanying drawings, which is set forth hereinafter.

FIG. 4 is a block diagram of a DLL in accordance with an embodiment of the present invention. Since the configuration of the DLL shown in FIG. 4 is similar to that shown in FIG. 1, a detailed description thereof will be omitted. A following description will be focused on a clock divider 2 and signals applied thereto.

FIG. 5 is a circuit diagram of a clock divider and a peripheral circuit in accordance with a first embodiment of the present invention.

In accordance with the first embodiment of the present invention, a period of a reference clock can be changed using an external command. That is, the reference clock can be used as a 1-period based dividing clock or a 2-period based dividing clock depending on a preset CAS latency (CL). The CAS latency is the number of clocks required until a first data is outputted after a read command is inputted, and it is determined by an address command signal applied from an exterior.

Regarding the 1-period based dividing clock dvd_tCK, a clock having the same period as that of the external clock is inputted, and a first logic state is maintained during a period corresponding to one period of the external clock, while a second logic state is maintained during the remaining periods. Regarding the 2-period based dividing clock dvd_2 tCK, a clock having the same period as that of the external clock is inputted, and a first logic state is maintained during a period corresponding to two periods of the external clock, while a second logic state is maintained during the remaining periods.

For example, if the CAS latency is 1.5 to 2.5, a 1-period enable clock enable_tCK is enabled so as to output the 1-period based dividing clock dvd_tCK as the reference clock. If the CAS latency is more than 3, a problem as shown in FIG. 3 may occur. Therefore, a 2-period enable clock enable_2 tCK is enabled so as to output the 2-period based dividing clock dvd_2 tCK as the reference clock.

Meanwhile, the 1-period enable clock enable_tCK or the 2-period enable clock enable_2 tCK may be enabled using first and second test mode signals TM1 and TM2 generated according to the address command signal inputted from an exterior.

When the 1-period enable clock enable_tCK or the 2-period enable clock enable_2 tCK is applied to a clock divider, an operation of the clock divider will be described below.

FIG. 6 is a detailed circuit diagram of the clock divider in accordance with an embodiment of the present invention.

The clock divider 2 includes first and second division units 61 and 62, and a clock selection unit 63. When a clock from a clock buffer 10 is inputted to the first division unit 61, the first division unit 61 outputs a second division clock dvd_2, and the second division unit 62 outputs the 1-period based dividing clock dvd_tCK and the 2-period based dividing clock dvd_2 tCK. If the 1-period enable clock enable_tCK is enabled, the clock selection unit 63 outputs the 1-period based dividing clock dvd_tCK as a four-division clock dvd_4. Meanwhile, if the 2-period enable clock enable_2 tCK is enabled, the clock selection unit 63 outputs the 2-period based dividing clock dvd_2 tCK as the four-division clock dvd_4.

FIGS. 7A and 7B are a waveform of a phase locking in accordance with a clock division of the present invention.

Specifically, FIG. 7A is a waveform of a case where because the operating frequency is low, the clock is locked using the 1-period based dividing clock, and FIG. 7B is a waveform of a case where because the operating frequency is high, the clock is locked using the 2-period based dividing clock.

The DLL in accordance with the present invention can lock the clock without regard to the high/low operating frequency. In addition, the existing command signals can be used to change the width of the reference frequency for phase comparison. Therefore, the circuit can be simplified and thus the sufficient margin can be secured in designing the layout of the semiconductor memory device.

The present application contains subject matter related to -Korean patent application No. 2004-0008447, filed in the Korean Intellectual Property Office on Oct. 2, 2004, the entire contents of which is incorporated herein by reference.

While the present invention has been described with respect to certain preferred embodiments, it will be apparent to those skilled in the art that various changes and modifications may be made without departing from the scope of the invention as defined in the following claims. 

1-12. (canceled)
 13. A delay locked loop (DLL) comprising: a clock buffer for receiving an external clock and buffering an internal clock; an enable clock generator configured to generate a 1-period enable clock or a 2-period enable clock based on CAS latency command signals generated for performing a predefined operation; and a clock divider configured to divide the internal clock to generate a divided clock, wherein the divided clock is controlled by the 1-period enable clock or the 2-period enable clock, such that the divided clock is made to be a 1-period based dividing clock or a 2-period based dividing clock.
 14. The DLL as recited in claim 13, further comprising: a test mode signal generating unit configured to generate first and second test mode signals
 15. The DLL as recited in claim 14, wherein the enable clock generator includes: a 1-period enable clock generating unit for logically combining a first group of the CAS latency command signals to generate the 1-period enable clock; and a 2-period enable clock generating unit for logically combining a second group of the CAS latency command signals to generate the 2-period enable clock, the second group of the CAS latency command signals having a value greater than the first group of the CAS latency command signals.
 16. The DLL as recited in claim 15, wherein if the first test mode signal is inputted, the 1-period enable clock generating unit operates without regard to the first group of the CAS latency command signals.
 17. The DLL as recited in claim 15, wherein if the second test mode signal is inputted, the 2-period enable clock generating unit operates without regard to the second group of the CAS latency command signals.
 18. The DLL as recited in claim 13, wherein the clock divider includes: a first division unit for dividing the internal clock outputted from the clock buffer to generate a 2-division clock; a second division unit for outputting a 1-period based dividing clock and a 2-period based dividing clock using the 2-division clock; and a clock selection unit for outputting the 1-period based dividing clock if the 1-period enable clock is enabled, and outputting the 2-period based dividing clock if the 2-period based dividing clock is enabled.
 19. The DLL as recited in claim 18, wherein the first division unit receives a clock having the same period as the external clock and generates the 1-period based dividing clock that maintains a first logic state during a period corresponding to one period of the external clock and maintains a second logic state during the remaining period.
 20. The DLL as recited in claim 19, wherein the second division unit receives a clock having the same period as the external clock and generates the 2-period based dividing clock that maintains a first logic state during a period corresponding to two periods of the external clock and maintains a second logic state during the remaining period.
 21. A delay locked loop (DLL) comprising: an enable clock generator configured to generate a 1-period enable clock or a 2-period enable clock based on CAS latency command signals; and a clock divider configured to divide an internal clock to generate a divided clock, wherein the divided clock is made to be a 1-period based dividing clock or a 2-period based dividing clock in response to the 1-period enable clock or the 2-period enable clock.
 22. The DLL as recited in claim 21, further comprising: a test mode signal generating unit configured to generate first and second test mode signals
 23. The DLL as recited in claim 22, wherein the enable clock generator includes: a 1-period enable clock generating unit for logically combining a first group of the CAS latency command signals to generate the 1-period enable clock; and a 2-period enable clock generating unit for logically combining a second group of the CAS latency command signals to generate the 2-period enable clock, wherein the second group of the CAS latency command signals has a value greater than the first group of the CAS latency command signals.
 24. The DLL as recited in claim 23, wherein if the first test mode signal is inputted, the 1-period enable clock generating unit operates without regard to the first group of the CAS latency command signals.
 25. The DLL as recited in claim 23, wherein if the second test mode signal is inputted, the 2-period enable clock generating unit operates without regard to the second group of the CAS latency command signals.
 26. The DLL as recited in claim 21, wherein the clock divider includes: a first division unit for dividing the internal clock outputted from a clock buffer to generate a 2-division clock; a second division unit for outputting a 1-period based dividing clock and a 2-period based dividing clock in response to the 2-division clock; and a clock selection unit for outputting the 1-period based dividing clock if the 1-period enable clock is enabled, and outputting the 2-period based dividing clock if the 2-period based dividing clock is enabled.
 27. The DLL as recited in claim 26, wherein the first division unit receives a clock having the same period as an external clock and generates the 1-period based dividing clock that maintains a first logic state during a period corresponding to one period of the external clock and maintains a second logic state during the remaining period.
 28. The DLL as recited in claim 26, wherein the second division unit receives a clock having the same period as an external clock and generates the 2-period based dividing clock that maintains a first logic state during a period corresponding to two periods of the external clock and maintains a second logic state during the remaining period.
 29. A method for generating a divided clock in a delay locked loop (DLL), comprising: receiving a clock equal to an external clock to generate an internal clock; generating a 1-period enable clock or a 2-period enable clock based on CAS latency command signals generated for performing a predefined operation, the CAS latency command signals being generated according to an address command signal inputted from an exterior; and dividing the internal clock to generate a divided clock, the divided clock being controlled by the 1-period enable clock or the 2-period enable clock, such that the divided clock is made to be a 1-period based dividing clock or a 2-period based dividing clock.
 30. The method as recited in claim 29, wherein the receiving of the clock includes: logically combining a first group of the CAS latency command signals to generate the 1-period enable clock; and logically combining a second group of the CAS latency command signals to generate the 2-period enable clock, the second group of the CAS latency command signals having a value greater than the first group of the CAS latency command signals.
 31. The method as recited in claim 29, wherein the dividing of the internal clock includes: dividing the internal clock to generate a 2-division clock; outputting a 1-period based dividing clock and a 2-period based dividing clock using the 2-division clock; and outputting the 1-period based dividing clock if the 1-period enable clock is enabled, and outputting the 2-period based dividing clock if the 2-period based dividing clock is enabled. 